<script setup lang="ts">
</script>


<template>
  <div class="box">
    <span class="active">首页</span>
    <span>分类</span>
    <span>消息</span>
    <span>我的</span>
  </div>
</template>

<style>
.box {
  display: flex;
}

.box span {
  width: 100px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  margin-right: 10px;
}

.active {
  background-color: red;
}
</style>